import request from "@/util/request";

/**
 * @description 查询参会企业
 * @returns {data}
 */
export function getByFairApi(data) {
	return request({
		url: '/getEnterpriseByFair',
		method: 'post',
		data
	}, true)
}
/**
 * @description 查询招聘会列表
 * @returns {data}
 */
export function findAllByCrtTimeApi(data) {
	return request({
		url: '/findAllByCrtTime',
		method: 'get',
		data
	}, true)
}
/**
 * @description 根据ID查询招聘会
 * @returns {data}
 */
export function findAllByIdApi(data) {
	return request({
		url: '/findAllById',
		method: 'get',
		data
	}, true)
}
/**
 * @description 查询参会企业详情
 * @returns {data}
 */
export function getEnterpriseDetailsApi(data) {
	return request({
		url: '/getEnterpriseDetails',
		method: 'post',
		data
	}, true)
}

/**
 * @description 查询我的招聘会
 * @returns {data}
 */
export function getMyJobFairsApi(data) {
	return request({
		url: '/getMyJobFairs',
		method: 'get',
		data
	}, true)
}
